public class Rook extends ChessPiece {
	private final static int ROOK_VALUE = 5;

	public Rook(boolean team, BoardLocation location) {
		super(team, ROOK_VALUE, location);
	}

	//A valid Rook move is either vertical or horizontal
	boolean isValidMove(BoardLocation dest) {
		int direction = this.curLoc.getMoveDirection(dest);
		
		return dest.isOnBoard() && direction >= 0 && direction <= 3;
	}
	
	public String toString() {
		return "R";
	}
}